package com.hmjk.health.util;

import android.graphics.Bitmap;
import android.util.Log;

public class DEV_FACE {
	public String tid = "";
	public String path;
	public Bitmap bitmap;
	public boolean committing = false;
	//public boolean reload = false;
	
	public void clear(){
		recycle();
		tid = "";
		path = null;
	}
	
	public void recycle(){
		if(bitmap != null){
			if(!bitmap.isRecycled()){
				Log.d("DEV_FACE",tid + "recycle");
				bitmap.recycle();
				System.gc();
			}
		}
		bitmap = null;
		Log.d("DEV_FACE",tid + "recycled!");
	}
	
}
